//
//  NSDate+DP.h
//  weibo
//
//  Created by DP on 16/7/6.
//  Copyright © 2016年 DP. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDate (DP)
/**
 NSDate 转 NSString
 */
+ (NSString *)DateToString:(NSDate *)date;
/**
 根据日期获取具体年月日，时分秒
 */
+ (NSDateComponents*)timeWithDate:(NSDate *)date;
@end
